package com.dragon.modules.yuegou.excel.member;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;


@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\member\\member.xlsx")
public class MemberWorkbook {
	@ExcelSheet
	@JsonProperty("会员信息表")
	private List<MemberRow> member;

	public static class MemberRow {
		@JsonProperty("用户名称")
		private String nickName;

		@JsonProperty("手机号")
		private String mobile;
		
		@JsonProperty("会员等级")
		private String levelName;

		@JsonProperty("成长值")
		private Long growCount;

		@JsonProperty("累计线上积分")
		private Integer onlinePoints;

		@JsonProperty("累计线下积分")
		private Integer totalPoints;
		
		@JsonProperty("剩余积分")
		private Integer memPoints;

		@JsonProperty("累计积分")
		private Integer historyPoints;

		@JsonProperty("悦币余额")
		private BigDecimal yueCoin;

		@JsonProperty("注册时间")
		private LocalDateTime busdMemberCreatedTime;

		@JsonProperty("出生日期")
		private LocalDate birthDay;

		@JsonProperty("性别")
		private String gender;

		@JsonProperty("年龄")
		private Integer age;

		@JsonProperty("地址")
		private String address;

		public Long getGrowCount() {
			return growCount;
		}

		public void setGrowCount(Long growCount) {
			this.growCount = growCount;
		}

		public Integer getOnlinePoints() {
			return onlinePoints;
		}

		public void setOnlinePoints(Integer onlinePoints) {
			this.onlinePoints = onlinePoints;
		}

		public Integer getTotalPoints() {
			return totalPoints;
		}

		public void setTotalPoints(Integer totalPoints) {
			this.totalPoints = totalPoints;
		}

		public LocalDate getBirthDay() {
			return birthDay;
		}

		public void setBirthDay(LocalDate birthDay) {
			this.birthDay = birthDay;
		}

		public String getGender() {
			return gender;
		}

		public void setGender(String gender) {
			this.gender = gender;
		}

		public Integer getAge() {
			return age;
		}

		public void setAge(Integer age) {
			this.age = age;
		}

		public String getAddress() {
			return address;
		}

		public void setAddress(String address) {
			this.address = address;
		}

		public String getNickName() {
			return nickName;
		}

		public void setNickName(String nickName) {
			this.nickName = nickName;
		}

		public String getMobile() {
			return mobile;
		}

		public Integer getHistoryPoints() {
			return historyPoints;
		}

		public void setHistoryPoints(Integer historyPoints) {
			this.historyPoints = historyPoints;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getLevelName() {
			return levelName;
		}

		public void setLevelName(String levelName) {
			this.levelName = levelName;
		}

		public Integer getMemPoints() {
			return memPoints;
		}

		public void setMemPoints(Integer memPoints) {
			this.memPoints = memPoints;
		}

		public BigDecimal getYueCoin() {
			return yueCoin;
		}

		public void setYueCoin(BigDecimal yueCoin) {
			this.yueCoin = yueCoin;
		}

		public LocalDateTime getBusdMemberCreatedTime() {
			return busdMemberCreatedTime;
		}

		public void setBusdMemberCreatedTime(LocalDateTime busdMemberCreatedTime) {
			this.busdMemberCreatedTime = busdMemberCreatedTime;
		}
	}

	public List<MemberRow> getMember() {
		return member;
	}

	public void setMember(List<MemberRow> member) {
		this.member = member;
	}
}
